package com.car.service.Impl;

import com.car.entity.Cardetailstable;
import com.car.mapper.CardetailstableMapper;
import com.car.service.CardetailstableService;
import com.car.vo.CardetailstableVo;
import com.car.vo.CartableVo;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class CardetailstableServiceImpl implements CardetailstableService{
	@Autowired
	CardetailstableMapper mapper;
	@Override
	public int deleteByPrimaryKey(Integer carDetailsId) {
		// TODO Auto-generated method stub
		return 0;
	}


	@Override
	public Cardetailstable selectByPrimaryKey(Integer carDetailsId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Cardetailstable> selectAll() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int updateByPrimaryKey(Cardetailstable record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByCarId(Integer carId) {
		// TODO Auto-generated method stub
		return mapper.updateByCarId(carId);
	}
	@Override
	public int insert(CartableVo record) {
		// TODO Auto-generated method stub
		return mapper.insert(record);
	}

@Override
		public int updateWeixiuCarId(int id) {
			// TODO Auto-generated method stub
			return mapper.updateWeixiuCarId(id);
		}

		@Override
		public List<Cardetailstable> selectStoreCar(int storeId) {
			// TODO Auto-generated method stub
			return mapper.selectStoreCar(storeId);
		}

@Override
	public List<CardetailstableVo> selevtByCarId(String storeName, Integer carBrandId, Integer carModelId) {
		// TODO Auto-generated method stub
		return mapper.selevtByCarId(storeName, carBrandId, carModelId);
	}
}

